package com.rc.saas.tenant.vo.ticket;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author frog
 * @date 2021/5/6
 */
public class GiveTicketDto {
    private String tenantCode;

    private Long ticketTypeId;
    //接收目标用户 0:手动输入 1:上传
    private String userType;
    //手动输入的用户
    private String members;

    private Integer sendCount;
    //接收目标用户 0:单次赠送 1:多次赠送
    private String sendType;

    //定时发送  on : 是
    private String sendRegularly;

    //首次赠送时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date firstSendTime;
    //定时赠送时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date onceSendTime;

    //发送类型  0按天（立即） 1按周 2按月  默认0
    private String schedulePeriod;

    private Integer ticketScheduleCount;
    //发放次数
    private Integer sendNum;

    private String remark;

    private List<Long> memberIds;

    private String verificationCode;

    public String getVerificationCode() {
        return verificationCode;
    }

    public void setVerificationCode(String verificationCode) {
        this.verificationCode = verificationCode;
    }

    public List<Long> getMemberIds() {
        return memberIds;
    }

    public void setMemberIds(List<Long> memberIds) {
        this.memberIds = memberIds;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public Long getTicketTypeId() {
        return ticketTypeId;
    }

    public void setTicketTypeId(Long ticketTypeId) {
        this.ticketTypeId = ticketTypeId;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getMembers() {
        return members;
    }

    public void setMembers(String members) {
        this.members = members;
    }

    public Integer getSendCount() {
        return sendCount;
    }

    public void setSendCount(Integer sendCount) {
        this.sendCount = sendCount;
    }

    public String getSendType() {
        return sendType;
    }

    public void setSendType(String sendType) {
        this.sendType = sendType;
    }

    public String getSendRegularly() {
        return sendRegularly;
    }

    public void setSendRegularly(String sendRegularly) {
        this.sendRegularly = sendRegularly;
    }

    public Date getFirstSendTime() {
        return firstSendTime;
    }

    public void setFirstSendTime(Date firstSendTime) {
        this.firstSendTime = firstSendTime;
    }

    public Date getOnceSendTime() {
        return onceSendTime;
    }

    public void setOnceSendTime(Date onceSendTime) {
        this.onceSendTime = onceSendTime;
    }

    public String getSchedulePeriod() {
        return schedulePeriod;
    }

    public void setSchedulePeriod(String schedulePeriod) {
        this.schedulePeriod = schedulePeriod;
    }

    public Integer getTicketScheduleCount() {
        return ticketScheduleCount;
    }

    public void setTicketScheduleCount(Integer ticketScheduleCount) {
        this.ticketScheduleCount = ticketScheduleCount;
    }

    public Integer getSendNum() {
        return sendNum;
    }

    public void setSendNum(Integer sendNum) {
        this.sendNum = sendNum;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
